/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.struts;

import com.opensymphony.xwork2.ActionSupport;
import javax.servlet.http.HttpServletRequest;
import org.apache.struts2.interceptor.ServletRequestAware;

/**
 *
 * @author bicho
 */
public class Servlets extends ActionSupport implements ServletRequestAware {

     //private BlogService service = new BlogService();
     private HttpServletRequest request;

     public void setServletRequest(HttpServletRequest httpServletRequest) {
         this.request = httpServletRequest;
     }

     public String execute() {
       //  request.setAttribute("bloglist",service.list());
         return SUCCESS;
     }

 }